<?php
class deco extends CI_Controller{
   public function index()
 {
   $this->session->unset_userdata('logged_in');
   session_unset();
   redirect('/', 'refresh');
 }
}